<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="border-style:solid;border-color:aqua;width:100%;height: 100px ;text-align: center ">
 <h1 style="margin:0 auto;line-height:100px;color: pink;font-size:56px">载&nbsp法&nbsp之&nbsp器&nbsp</h1>
</div>
<a href="{% url 'tfadd'%}" style="width: 20px;height:6px;background-color: coral ;border-style: solid ">添加</a>
<br>
<form action="/class/sousuo/">
    <input type="text" name="so"  placeholder="输入需要搜索的关键字">
    <input type="submit" value="搜索">

</form>
<div style="width: 50%;height: 400px; text-align: center;border-style: solid;border-color: deeppink">
{% for foo in all1 %}
    <a href="{% url "show" foo.id%}" >{{ foo.id }},{{ foo.name }},{{ foo.age }}</a>
    <a href="{% url 'dell' foo.id%}">删除</a>
    <a href="{% url 'xiugai' foo.id%}">修改</a>
    <br>
{% endfor %}
</div>
<div style="width: 50%;text-align: center">
<a href="">上一页</a>&nbsp&nbsp&nbsp<a href="">当前页</a>&nbsp&nbsp&nbsp<a href="">下一页</a>
</div>
</body>
</html>